Release 10.1A: OpenEdge Development:
Progress 4GL Handbook
Using rectangles to organize objects
You might not be inclined to think of a visualization as primitive as a rectangle as being a real visual object at all, in the same sense that the other objects you’ve looked at are. But a rectangle has all the basic characteristics the other object types do:
![]()
To add a rectangle to the sample window:
- Select its icon from the Palette:
![]()
- Use the mouse to drag a rectangular area around the Average Discount field and the corresponding slider value.
- Double-click on the rectangle (that is, anywhere within the area enclosed by the rectangle that isn’t within another object) to bring up its property sheet.
Because you’re not going to define triggers or other code that references the rectangle, there’s no need to change its default name.
- If you want the line to appear thicker, change the Edge Pixels value from 2 to 4:
![]()
This is the code the AppBuilder generates for the rectangle:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |